export interface Product {
    id: number;
    name: string;
    price: number;
    description: string;
}

class p implements Product {
    description: string;
    id: number;
    name: string;
    price: number;

    constructor(id: number, name: string, price: number, description: string) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.description = description;
    }
}

export const products: Product[] = [
    new p(1,
        'Phone XL',
        799,
        'A large phone with one of the best screens')
    ,
    new p(
        2,
        'Phone Mini',
        699,
        'A great phone with one of the best cameras'
    ),
    new p(
        3,
        'Phone Standard',
        299,
        ''
    ),
];
